class CompanyDetailEntity {
	int errno;
	CompanyDetailData data;
	String errmsg;

	CompanyDetailEntity({this.errno, this.data, this.errmsg});

	CompanyDetailEntity.fromJson(Map<String, dynamic> json) {
		errno = json['errno'];
		data = json['data'] != null ? new CompanyDetailData.fromJson(json['data']) : null;
		errmsg = json['errmsg'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['errno'] = this.errno;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['errmsg'] = this.errmsg;
		return data;
	}
}

class CompanyDetailData {
	CompanyDetailDataCompany company;

	CompanyDetailData({this.company});

	CompanyDetailData.fromJson(Map<String, dynamic> json) {
		company = json['company'] != null ? new CompanyDetailDataCompany.fromJson(json['company']) : null;
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.company != null) {
      data['company'] = this.company.toJson();
    }
		return data;
	}
}

class CompanyDetailDataCompany {
	String typeStr;
	String descAddress;
	String province;
	String city;
	String district;
	String name;
	String mobile;
	String description;
	int id;
	int type;
	int parentId;
	String url;

	CompanyDetailDataCompany({this.typeStr, this.descAddress, this.province, this.city, this.district, this.name, this.mobile, this.description, this.id, this.type, this.parentId, this.url});

	CompanyDetailDataCompany.fromJson(Map<String, dynamic> json) {
		typeStr = json['typeStr'];
		descAddress = json['descAddress'];
		province = json['province'];
		city = json['city'];
		district = json['district'];
		name = json['name'];
		mobile = json['mobile'];
		description = json['description'];
		id = json['id'];
		type = json['type'];
		parentId = json['parentId'];
		url = json['url'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['typeStr'] = this.typeStr;
		data['descAddress'] = this.descAddress;
		data['province'] = this.province;
		data['city'] = this.city;
		data['district'] = this.district;
		data['name'] = this.name;
		data['mobile'] = this.mobile;
		data['description'] = this.description;
		data['id'] = this.id;
		data['type'] = this.type;
		data['parentId'] = this.parentId;
		data['url'] = this.url;
		return data;
	}
}
